package com.simou.dto;

import com.simou.entity.Setmeal;
import com.simou.entity.SetmealDish;

import java.util.ArrayList;
import java.util.List;

public class SetmealDto extends Setmeal {
    List<SetmealDish> setmealDishes = new ArrayList<>();

    public List<SetmealDish> getSetmealDishes() {
        return setmealDishes;
    }

    public void setSetmealDishes(List<SetmealDish> setmealDishes) {
        this.setmealDishes = setmealDishes;
    }

    @Override
    public String toString() {
        return "SetmealDto{" +
                "setmealDishes= " + setmealDishes +
                " Setmeal{" +
                "id=" + getId() +
                ", categoryId=" + getCategoryId() +
                ", name='" + getName() + '\'' +
                ", price=" + getPrice() +
                ", status=" + getStatus() +
                ", code='" + getCode() + '\'' +
                ", description='" + getDescription() + '\'' +
                ", image='" + getImage() + '\'' +
                ", createTime=" + getCreateTime() +
                ", updateTime=" + getUpdateTime() +
                ", createUser=" + getCreateUser() +
                ", updateUser=" + getUpdateUser() +
                ", isDeleted=" + getIsDeleted() +
                '}';
    }
}

